package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.dto.response.gift.ActGiftDetailComResp;
import com.rightsidetech.activity.entity.ActActivityMallTypeGift;

import java.util.List;
import java.util.Map;

public interface ActActivityMallTypeGiftMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActActivityMallTypeGift record);

    int insertSelective(ActActivityMallTypeGift record);

    ActActivityMallTypeGift selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActActivityMallTypeGift record);

    int updateByPrimaryKey(ActActivityMallTypeGift record);

    int insertList(Map<String, Object> map);

    List<ActGiftDetailComResp> selectByActivityMallTypeId(Long activityMallTypeId);

    int deleteByActivityMallTypeId(Long activityMallTypeId);

    List<Integer> selectByGiftId(long id);
}